package com.exam.dataobject.mapper;

import com.exam.dataobject.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by v
 * Date:2019/1/6
 * Time:20:30
 */
public interface UserMapper {

    List<Map<String, Object>> getUserByNameOrPhoneOrEmail(@Param("nameOrPhoneOrEmail") String nameOrPhoneOrEmail);

    void registerUser(Map<String, Object> registerInfo);

    void updateUserInfo(Map<String, Object> changeInfo);
}
